package erreAga.service;

import java.util.List;

import erreAga.dao.DaoException;
import erreAga.eb.AtestadoMedico;
import erreAga.eb.Funcionario;
import erreAga.eb.HoraExtra;


public interface ErreAgaService {
  public AtestadoMedico saveAtestadoMedico(AtestadoMedico atestadoMedico) throws DaoException;
  public AtestadoMedico getAtestadoMedico(Integer id) throws DaoException;
  public void deleteAtestadoMedico(AtestadoMedico atestadoMedico) throws DaoException;
  public List<AtestadoMedico> listAtestadoMedico() throws DaoException;

  public Funcionario saveFuncionario(Funcionario funcionario) throws DaoException;
  public Funcionario getFuncionario(Integer id) throws DaoException;
  public void deleteFuncionario(Funcionario funcionario) throws DaoException;
  public List<Funcionario> listFuncionario() throws DaoException;
  public Funcionario searchFuncionario(String matricula) throws DaoException;
  public Funcionario searchFuncionarioByNome(String nome) throws DaoException;


  public HoraExtra saveHoraExtra(HoraExtra horaExtra) throws DaoException;
  public HoraExtra getHoraExtra(Integer id) throws DaoException;
  public void deleteHoraExtra(HoraExtra horaExtra) throws DaoException;
  public List<HoraExtra> listHoraExtra() throws DaoException;
  public List<HoraExtra> listHoraExtra(String matriculaFuncionario)
      throws DaoException;
}
